<template>
  <div class="HealthVip">
    <!-- vip头部 -->
    <div class="vip-head">
      <van-sticky>
        <van-nav-bar title="健康VIP" left-arrow @click-left="onClickLeft">
          <template #right>
            <van-image
              :src="require('@/assets/mine-font/mine-healthVIP/forward.png')"
              width="22px"
              height="22px"
            />
          </template>
        </van-nav-bar>
      </van-sticky>
    </div>
    <!-- 背景圆形 -->
    <div class="vip-back"></div>
    <!-- 健康会员 -->
    <div class="member">
      <div class="card">
        <div class="save">
          省
          <div class="small"></div>
        </div>
        <h2>
          <img src="@/assets/mine-font/mine-healthVIP/vip.png" alt="" />
          健康会员&nbsp;看病省钱
        </h2>
        <p>平均每年可预计节省1000元</p>
        <div class="dredge">
          <div class="price">
            <span class="rmb">￥</span>
            <span class="num">88</span>
            <span class="year">/年</span>
            <span class="original">￥199</span>
            <div class="lean"></div>
          </div>
          <button class="open">立即开通</button>
        </div>
      </div>
    </div>
    <!-- 会员额外专享福利 -->
    <div class="welfare">
      <p>会员额外专享福利</p>
      <img src="@/assets/mine-font/mine-healthVIP/welfare.png" alt="" />
    </div>
    <!-- 就医权益 -->
    <p class="exclusive-text">
      会员专属权益<span>查看权益详细介绍<van-icon name="arrow" /></span>
    </p>
    <div class="hospitalize">
      <p>就医权益</p>
      <ul>
        <li>
          <h6>号源提醒</h6>
          <span class="year">全年</span>
          <p>短信加APP双提醒，专家号不错过</p>
        </li>
        <li>
          <h6>图文咨询<span class="sale">8.8折</span></h6>
          <span class="year">全年</span>
          <p>不限次，不限医生</p>
        </li>
        <li>
          <h6>电话咨询<span class="sale">8.8折</span></h6>
          <span class="year">全年</span>
          <p>健康问题一个电话详细解决</p>
        </li>
        <li>
          <h6>快速咨询<span class="sale">8.8折</span></h6>
          <span class="year">全年</span>
          <p>快速解答，专享折扣</p>
        </li>
        <li>
          <h6>贴心就诊<span class="sale">8.8折</span></h6>
          <span class="year">全年</span>
          <p>线下见医生，不排队享折扣</p>
        </li>
        <li>
          <h6>包月咨询<span class="sale">8.8折</span></h6>
          <span class="year">全年</span>
          <p>同享包月折扣</p>
        </li>
        <li class="last-list">
          <h6>专病管理服务<span class="sale">8.8折</span></h6>
          <span class="year">全年</span>
          <p>不限医生，不限服务，会员年卡，6次/年</p>
        </li>
      </ul>
    </div>
    <!-- 其他热门权益 -->
    <div class="tags">
      <p>其他热门权益</p>
      <ul>
        <li class="tags-one">
          <img
            src="../../../assets/mine-font/mine-healthVIP/exclusive.png"
            alt=""
          />
          <div class="tags-text">
            <h6>专享活动</h6>
            <span>定期福利，专属优惠登录可领</span>
          </div>
        </li>
        <li class="tags-two">
          <img
            src="../../../assets/mine-font/mine-healthVIP/hospital-guide.png"
            alt=""
          />
          <div class="tags-text">
            <h6>线上导医</h6>
            <span>专属VIP标识，30秒挂号就诊指导</span>
          </div>
        </li>
        <li class="tags-three">
          <img
            src="../../../assets/mine-font/mine-healthVIP/service.png"
            alt=""
          />
          <div class="tags-text">
            <h6>专属客服</h6>
            <span>会员主页可直通客服，快速解答不等待</span>
          </div>
        </li>
        <li class="tags-four">
          <img
            src="../../../assets/mine-font/mine-healthVIP/class.png"
            alt=""
          />
          <div class="tags-text">
            <h6>健康课堂</h6>
            <span>开通直送240元课程</span>
          </div>
        </li>
      </ul>
      <p class="tags-last">查看权益示例<van-icon name="arrow" /></p>
    </div>
    <!-- 会员专属权益 -->
    <div class="exclusive">
      <p class="exclusive-text">会员专属权益</p>
      <div class="exclusive-content">
        <div class="welcome">
          <h6>会员您好！<br />您的任何问题我们都随时待命</h6>
          <img
            src="../../../assets/mine-font/mine-healthVIP/phone.png"
            alt=""
          />
        </div>
        <span>周一到周五：&nbsp;8:00-19:00</span>
        <span>周末及节假日：&nbsp;9:00-17:30</span>
      </div>
    </div>
    <!-- 会员评价 -->
    <div class="evaluate">
      <p>会员评价</p>
      <div class="user">
        <div class="user-head">
          <img src="../../../assets/mine-font/mine-healthVIP/user.png" alt="" />
          <p>张女士<span>使用微脉3年的用户</span></p>
        </div>
        <div class="user-content">
          <p>
            我是金华人，看病呀，肯定要观察清楚放心才行。所以我经常用微脉联系我的主治医师。
          </p>
          <p>
            有时候上班没时间，觉得是个小问题，但是不放心的时候也会问一下，看看医生怎么说，毕竟健康是根本，不能小视的。
          </p>
          <p>
            现在的话，我添加了父母，老公，儿子，日常家里的小问题基本都在微脉问问医生。
          </p>
          <p>
            办会员肯定是划算的，生病了能不花钱看医生吗，既然花钱肯定省一点最好了，而且时间有一年呢。
          </p>
        </div>
      </div>
    </div>
    <!-- 开通记录 -->
    <div class="record">
      <p><van-icon name="orders-o" />开通记录</p>
    </div>
    <!-- 开通按钮 -->
    <div class="VIP-button">
      <button class="button-month" @click="goToErweima">
        <span>￥</span>48<span>/3个月</span>
      </button>
      <button class="button-year" @click="goToErweima">
        <span>￥</span>88<span>/年</span><span>开通立省</span>
      </button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
    goToErweima() {
      this.$router.push("/home/mine/erweima");
    },
  },
};
</script>

<style lang="less">
.HealthVip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: scroll;
  // height: calc(100%-56px);
  // width: 375.2px;
  // white-space: nowrap;

  ::-webkit-scrollbar {
    width: 0 !important;
  }

  ::-webkit-scrollbar {
    width: 0 !important;
    height: 0;
  }
  padding-bottom: 50px;
  background: #f9f3ee;
  // 头部右边分享
  .van-nav-bar .van-icon {
    color: #000;
  }
  .van-nav-bar__title {
    font-size: 18px;
    font-weight: 900;
  }
  // 背景圆形
  .vip-back {
    width: 100%;
    height: 180px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    background: linear-gradient(82deg, rgb(92, 72, 65), rgb(70, 56, 47));
    // opacity: 0.5;
    z-index: 1;
    position: absolute;
  }
  // 健康会员
  .member {
    width: 100%;
    .card {
      width: 325px;
      height: 171.5px;
      background: #feedcf;
      box-shadow: 0px 1.5px 2px 1px rgba(194, 178, 150, 0.17);
      border-radius: 10px;
      margin: 26px auto;
      overflow: hidden;
      position: relative;
      z-index: 50;
      .save {
        width: 75px;
        height: 75px;
        font-size: 36px;
        font-weight: 900;
        border-radius: 50%;
        color: #dbb77d;
        border: 3px solid #dfb87e;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: -16px;
        top: -5px;
        transform: rotate(5deg);
        .small {
          width: 68px;
          height: 68px;
          border-radius: 50%;
          border: 3px dashed #dfb87e;
          position: absolute;
          right: -2px;
          top: -2px;
        }
      }
      h2 {
        font-size: 22px;
        padding-left: 19.5px;
        color: #552f16;
        margin: 0;
        padding-top: 23.5px;
        font-weight: 600;
        display: flex;
        align-items: center;
        img {
          width: 23px;
          height: 23px;
          margin-right: 3px;
        }
      }
      p {
        font-size: 14px;
        color: #552f16;
        margin: 0;
        padding-left: 18px;
        padding-top: 6px;
      }
      .dredge {
        width: 279px;
        height: 39px;
        border-radius: 18.5px;
        box-shadow: 0px 2px 4px 1px rgba(83, 33, 15, 0.35);
        overflow: hidden;
        display: flex;
        position: absolute;
        bottom: 18.5px;
        left: 20.5px;
        .price {
          width: 191px;
          height: 39px;
          background: rgb(98, 55, 15);
          border-radius: 18.5px 0px 0px 18.5px;
          color: #e1d1bd;
          display: flex;
          align-items: center;
          .rmb {
            font-size: 15px;
            margin-left: 26px;
            margin-right: 5px;
          }
          .num {
            font-size: 24px;
            color: #fbf0cf;
          }
          .year {
            font-size: 14px;
            margin-left: 2.5px;
          }
          .original {
            font-size: 14px;
            text-decoration: line-through;
            padding-left: 9.5px;
          }
          .lean {
            transform: rotate(12deg);
            height: 39px;
            width: 20px;
            background: rgb(98, 55, 15);
            position: relative;
            top: -3px;
            right: -36px;
            z-index: 999;
          }
        }
        .open {
          width: 88px;
          height: 39px;
          color: #fff;
          font-size: 14px;
          border: none;
          border-radius: 0px 18.5px 18.5px 0px;
          background: linear-gradient(
            82deg,
            rgba(254, 114, 57, 0.96),
            rgba(245, 89, 37, 0.96)
          );
        }
      }
    }
  }
  // 会员额外专享福利
  .welfare {
    width: 100%;
    margin-top: 37px;
    p {
      font-size: 18px;
      color: #827466;
      margin: 0;
      padding-left: 15.5px;
      padding-bottom: 8px;
      font-family: "黑体";
    }
    img {
      width: 353px;
      height: 140px;
      margin-left: 12.5px;
    }
  }
  // 就医权益
  .hospitalize {
    width: 344.5px;
    height: 431.5px;
    background-image: url("../../../assets/mine-font/mine-healthVIP/equity.png");
    background-size: 100% 100%;
    border-radius: 10px;
    margin: 0 auto 13px;
    p {
      font-size: 22px;
      color: #b38f5f;
      font-weight: 900;
      padding-top: 35.5px;
      margin: 0 0 22px 25px;
    }
    ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;
      align-items: center;
      li {
        width: 152px;
        height: 77.5px;
        background: #fdfdfd;
        border-radius: 8px;
        margin-bottom: 8px;
        color: #333;
        position: relative;
        h6 {
          display: flex;
          align-items: center;
          margin: 0;
          font-size: 15px;
          padding-left: 13.5px;
          padding-top: 10px;
          .sale {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 38px;
            height: 14.5px;
            font-size: 10px;
            color: #976c36;
            background: linear-gradient(
              82deg,
              rgba(250, 228, 156, 0.96),
              rgba(255, 202, 122, 0.96)
            );
            border-radius: 7px;
            margin-left: 6px;
          }
        }
        p {
          width: 128px;
          font-size: 13px;
          font-weight: 500;
          color: #333;
          margin: 0;
          padding: 9px 0 0 14px;
        }
        .year {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 36px;
          height: 18px;
          font-size: 11px;
          color: #fff;
          border-radius: 0px 8px 0px 8px;
          background: linear-gradient(
            82deg,
            rgba(255, 148, 98, 0.96),
            rgba(248, 116, 61, 0.96)
          );
          position: absolute;
          right: 0;
          top: 0;
        }
      }
      .last-list {
        width: 315px;
        height: 78px;
        p {
          width: 100%;
        }
      }
    }
  }
  // 其他热门权益
  .tags {
    width: 349px;
    height: 250px;
    border-radius: 8px;
    background: #fdfdfd;
    box-shadow: 0px 2px 4px 1px rgba(72, 81, 94, 0.09);
    margin: auto;
    margin-bottom: 10px;
    p {
      width: 330px;
      height: 44.5px;
      line-height: 44.5px;
      font-size: 15.5px;
      color: #684a24;
      background: #f6d9ad;
      border-radius: 8px 8px 0 0;
      padding-left: 19px;
      font-weight: 900;
      margin: 0;
    }
    ul {
      display: flex;
      flex-wrap: wrap;
      border-bottom: 1px #999 solid;
      li {
        width: 173px;
        height: 80px;
        display: flex;
        img {
          width: 31.5px;
          height: 31px;
          padding-left: 11px;
          padding-top: 12px;
        }
        .tags-text {
          display: flex;
          align-content: flex-start;
          flex-wrap: wrap;
          padding-left: 7px;
          h6 {
            display: flex;
            align-items: center;
            margin: 0;
            color: #333;
            font-size: 15px;
            padding-top: 10px;
          }
          span {
            display: block;
            width: 110px;
            font-size: 12px;
            color: #999;
            padding-top: 6.5px;
          }
        }
      }
      .tags-one {
        border-bottom: 1px #999 solid;
        border-right: 1px #999 solid;
      }
      .tags-two {
        border-bottom: 1px #999 solid;
      }
      .tags-three {
        border-right: 1px #999 solid;
      }
    }
    .tags-last {
      width: 100%;
      height: 45px;
      line-height: 45px;
      text-align: center;
      font-size: 14px;
      color: #9e7839;
      background: transparent;
      padding: 0;
    }
  }
  // 会员专属权益
  .exclusive {
    .exclusive-content {
      width: 342.5px;
      height: 129.5px;
      background: #fdfffe;
      border-radius: 8px;
      margin: 18px auto 0;
      .welcome {
        display: flex;
        justify-content: space-around;
        align-items: center;
        h6 {
          font-size: 15px;
          margin: 20.5px 0 15px 0;
        }
        img {
          width: 40px;
          height: 40px;
        }
      }
      span {
        display: block;
        color: #999;
        font-size: 14px;
        width: 310px;
        margin-left: 25px;
      }
    }
  }
  // 会员专属权益文本
  .exclusive-text {
    font-size: 18px;
    color: #746e57;
    margin: 34.5px 16.5px 10px 15.5px;
    font-family: "黑体";
    display: flex;
    justify-content: space-between;
    span {
      font-size: 14px;
      color: #b38f5f;
    }
  }
  // 会员评价
  .evaluate {
    // 会员评价文字
    p {
      font-size: 18px;
      color: #746e57;
      margin: 48px 0px 18px 15.5px;
      font-family: "黑体";
    }
    .user {
      width: 343.5px;
      height: 296px;
      background: #fff;
      border-radius: 13px;
      margin: auto;
      .user-head {
        height: 62px;
        line-height: 62px;
        display: flex;
        align-items: center;
        img {
          width: 37.5px;
          height: 36px;
          margin-left: 19.5px;
        }
        p {
          height: 62px;
          line-height: 62px;
          font-size: 15px;
          margin: 0 0 0 6px;
          color: #333;
          span {
            font-size: 13px;
            color: #999;
            margin: 0 0 0 7px;
          }
        }
      }
      .user-content {
        width: 310px;
        margin: auto;
        p {
          font-size: 14px;
          color: #666;
          line-height: 21px;
          margin: 0 0 8px 0;
        }
      }
    }
  }
  // 开通记录
  .record {
    width: 346.5px;
    height: 51px;
    background: #fff;
    border-radius: 12.5px;
    margin: 18px auto;
    display: flex;
    justify-items: center;
    align-items: center;
    p {
      width: 100%;
      font-size: 16px;
      color: #81796e;
      text-align: center;
      font-family: "黑体";
      .van-icon {
        margin-right: 6px;
      }
    }
  }
  // 开通按钮
  .VIP-button {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    .button-month {
      width: 130.5px;
      height: 43.5px;
      border: 1px solid #aa9962;
      border-radius: 22px;
      background: transparent;
      font-size: 24px;
      font-weight: 900;
      color: #81651b;
      display: flex;
      span {
        display: block;
        font-size: 14px;
        font-weight: 500;
        padding: 0 6px;
        line-height: 40px;
      }
    }
    .button-year {
      width: 205px;
      height: 43.5px;
      background: linear-gradient(
        82deg,
        rgba(254, 114, 54, 0.94),
        rgba(243, 79, 26, 0.94)
      );
      border: 0;
      border-radius: 22px;
      font-size: 24px;
      color: #fff;
      font-weight: 600;
      display: flex;
      justify-content: center;
      align-items: center;
      span {
        display: block;
        font-size: 16px;
        padding: 0 6px;
        line-height: 40px;
      }
    }
  }
}
</style>
